home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1996 April / Designer's Club 1996 April.iso / mac / Idea Source / TrikeTut.DIR / 00208_Script_208 < prev    next >
Text File  |  1996-03-08  |  477b  |  25 lines

  1. on keyDown 
  2.   if the key = 1 then
  3.     set the soundLevel to (1)
  4.   end if
  5.   if the key = 2 then
  6.     set the soundLevel to (2)
  7.   end if
  8.   if the key = 3 then
  9.     set the soundLevel to (3)
  10.   end if
  11.   if the key = 4 then
  12.     set the soundLevel to (4)
  13.   end if
  14.   if the key = 5 then
  15.     set the soundLevel to (5)
  16.   end if
  17.   if the key = 6 then
  18.     set the soundLevel to (6)
  19.   end if
  20.   if the key = 7 then
  21.     set the soundLevel to (7)
  22.   end if
  23. end keydown
  24.  
  25.